package com.efast.dmom.equipment.api;

import com.efast.dmom.equipment.bean.EquipBomBean;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

@Api(value = "设备Bom", description = "设备BomAPI")
public interface EquipBomApi {
	
	@ApiOperation(value = "添加备件")
	void addSpare(@ApiParam(value = "添加设备BOM备件") EquipBomBean bean);
	
	@ApiOperation(value = "删除备件")
	void deleteSpare(@ApiParam(value = "删除设备BOM备件") EquipBomBean bean);
	
	@ApiOperation(value = "增加设备类")
	void addCategory(@ApiParam(value = "增加设备类") EquipBomBean bean);
	
	@ApiOperation(value = "删除设备类")
	void deleteCategory(@ApiParam(value = "删除设备类") EquipBomBean bean);
	
	@ApiOperation(value = "删除部位")
	void deleteParts(@ApiParam(value = "删除部位") EquipBomBean bean);
	
}
